package com.mxpio.erp.common.jpa.model;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 检验单明细父类
 * @author MxpIO
 */
@Data
@MappedSuperclass
@EqualsAndHashCode(callSuper=false)
public abstract class QualityOrderLine extends NoticeLine {

	private static final long serialVersionUID = 1L;
	
	@Column(name = "CHECK_QUANTITY_")
    @Schema(description = "检验数量")
    private BigDecimal checkQuantity;
	
	@Column(name = "UNQUALIFIED_QUANTITY_")
    @Schema(description = "不合格数量")
    private BigDecimal unqualifiedQuantity;
	
	@Column(name = "CONCESSION_QUANTITY_")
    @Schema(description = "让步接收")
    private BigDecimal concessionQuantity;
	
	@Column(name = "CHECK_RESULT_")
    @Schema(description = "检验结论")
	private String checkResult;

}
